﻿#ifndef JCHARTPRIVATE_H
#define JCHARTPRIVATE_H

#include <QChart>

QT_CHARTS_USE_NAMESPACE

class JCartesianChart : public QChart
{
    Q_OBJECT
public:
    explicit JCartesianChart(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
    explicit JCartesianChart(QChart::ChartType type, QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);

Q_SIGNALS:
    void doubleClicked(bool checked);

public Q_SLOTS:

protected:
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);

private:
    void init();

private:
};

#endif // JCHARTPRIVATE_H
